Replaces the characters intersecting with the specified rectangles at the specified percentage.
public bool ReplaceIntersectedCharacters(
IEnumerable<LeadRect> bounds,
char replaceCharacter,
int intersectionPercentage
)
Public Function ReplaceIntersectedCharacters(
ByVal bounds As IEnumerable(Of LeadRect
),
ByVal replaceCharacter As Char,
ByVal intersectionPercentage As Integer) As Boolean
public:
bool ReplaceIntersectedCharacters(
IEnumerable<LeadRect^>^ bounds,
Char replaceCharacter,
Int32 intersectionPercentage
)
bounds
List of rectangles containing the bounds to check. These values are in pixels.
replaceCharacter
The new character code to use. Use 0 to delete the characters.
intersectionPercentage
Intersection percentage between each character and bounds.
true if one or more characters were replaced; otherwise, false.
This is a helper method used to quickly perform actions such as redacting or removing characters from the recognition data based on their locations.
intersectionPercentage can be used to control the percentage of intersection on which to perform the operation as follows:
intersectionPercentage value of 0 means use the default percentage of 50%.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document